﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LJLNet.SocketTCPPeer;
using System.Net.Sockets;

namespace LJLNet.Application
{
    public interface Application
    {
        //有客户端连接时候调用
        BasePeer CreatePeer(Socket socket);
        //框架启动后调用
        void Setup();
        //框架停止后调用
        void TearDown();
    }
}
